﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000753 RID: 1875
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMissionStatusScRsp : IMessage<GetMissionStatusScRsp>, IMessage, IEquatable<GetMissionStatusScRsp>, IDeepCloneable<GetMissionStatusScRsp>, IBufferMessage
	{
		// Token: 0x170017F8 RID: 6136
		// (get) Token: 0x06005448 RID: 21576 RVA: 0x000E40C1 File Offset: 0x000E22C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMissionStatusScRsp> Parser
		{
			get
			{
				return GetMissionStatusScRsp._parser;
			}
		}

		// Token: 0x170017F9 RID: 6137
		// (get) Token: 0x06005449 RID: 21577 RVA: 0x000E40C8 File Offset: 0x000E22C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMissionStatusScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170017FA RID: 6138
		// (get) Token: 0x0600544A RID: 21578 RVA: 0x000E40DA File Offset: 0x000E22DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMissionStatusScRsp.Descriptor;
			}
		}

		// Token: 0x0600544B RID: 21579 RVA: 0x000E40E4 File Offset: 0x000E22E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusScRsp()
		{
		}

		// Token: 0x0600544C RID: 21580 RVA: 0x000E413C File Offset: 0x000E233C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusScRsp(GetMissionStatusScRsp other) : this()
		{
			this.finishedMainMissionIdList_ = other.finishedMainMissionIdList_.Clone();
			this.mainMissionMcvList_ = other.mainMissionMcvList_.Clone();
			this.retcode_ = other.retcode_;
			this.subMissionStatusList_ = other.subMissionStatusList_.Clone();
			this.missionEventStatusList_ = other.missionEventStatusList_.Clone();
			this.unfinishedMainMissionIdList_ = other.unfinishedMainMissionIdList_.Clone();
			this.disabledMainMissionIdList_ = other.disabledMainMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600544D RID: 21581 RVA: 0x000E41D2 File Offset: 0x000E23D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusScRsp Clone()
		{
			return new GetMissionStatusScRsp(this);
		}

		// Token: 0x170017FB RID: 6139
		// (get) Token: 0x0600544E RID: 21582 RVA: 0x000E41DA File Offset: 0x000E23DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FinishedMainMissionIdList
		{
			get
			{
				return this.finishedMainMissionIdList_;
			}
		}

		// Token: 0x170017FC RID: 6140
		// (get) Token: 0x0600544F RID: 21583 RVA: 0x000E41E2 File Offset: 0x000E23E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MainMissionCustomValue> MainMissionMcvList
		{
			get
			{
				return this.mainMissionMcvList_;
			}
		}

		// Token: 0x170017FD RID: 6141
		// (get) Token: 0x06005450 RID: 21584 RVA: 0x000E41EA File Offset: 0x000E23EA
		// (set) Token: 0x06005451 RID: 21585 RVA: 0x000E41F2 File Offset: 0x000E23F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170017FE RID: 6142
		// (get) Token: 0x06005452 RID: 21586 RVA: 0x000E41FB File Offset: 0x000E23FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Mission> SubMissionStatusList
		{
			get
			{
				return this.subMissionStatusList_;
			}
		}

		// Token: 0x170017FF RID: 6143
		// (get) Token: 0x06005453 RID: 21587 RVA: 0x000E4203 File Offset: 0x000E2403
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Mission> MissionEventStatusList
		{
			get
			{
				return this.missionEventStatusList_;
			}
		}

		// Token: 0x17001800 RID: 6144
		// (get) Token: 0x06005454 RID: 21588 RVA: 0x000E420B File Offset: 0x000E240B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> UnfinishedMainMissionIdList
		{
			get
			{
				return this.unfinishedMainMissionIdList_;
			}
		}

		// Token: 0x17001801 RID: 6145
		// (get) Token: 0x06005455 RID: 21589 RVA: 0x000E4213 File Offset: 0x000E2413
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DisabledMainMissionIdList
		{
			get
			{
				return this.disabledMainMissionIdList_;
			}
		}

		// Token: 0x06005456 RID: 21590 RVA: 0x000E421B File Offset: 0x000E241B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMissionStatusScRsp);
		}

		// Token: 0x06005457 RID: 21591 RVA: 0x000E422C File Offset: 0x000E242C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMissionStatusScRsp other)
		{
			return other != null && (other == this || (this.finishedMainMissionIdList_.Equals(other.finishedMainMissionIdList_) && this.mainMissionMcvList_.Equals(other.mainMissionMcvList_) && this.Retcode == other.Retcode && this.subMissionStatusList_.Equals(other.subMissionStatusList_) && this.missionEventStatusList_.Equals(other.missionEventStatusList_) && this.unfinishedMainMissionIdList_.Equals(other.unfinishedMainMissionIdList_) && this.disabledMainMissionIdList_.Equals(other.disabledMainMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005458 RID: 21592 RVA: 0x000E42E4 File Offset: 0x000E24E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.finishedMainMissionIdList_.GetHashCode();
			num ^= this.mainMissionMcvList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.subMissionStatusList_.GetHashCode();
			num ^= this.missionEventStatusList_.GetHashCode();
			num ^= this.unfinishedMainMissionIdList_.GetHashCode();
			num ^= this.disabledMainMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005459 RID: 21593 RVA: 0x000E4377 File Offset: 0x000E2577
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600545A RID: 21594 RVA: 0x000E437F File Offset: 0x000E257F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600545B RID: 21595 RVA: 0x000E4388 File Offset: 0x000E2588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.mainMissionMcvList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_mainMissionMcvList_codec);
			this.finishedMainMissionIdList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_finishedMainMissionIdList_codec);
			this.missionEventStatusList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_missionEventStatusList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			this.disabledMainMissionIdList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_disabledMainMissionIdList_codec);
			this.unfinishedMainMissionIdList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_unfinishedMainMissionIdList_codec);
			this.subMissionStatusList_.WriteTo(ref output, GetMissionStatusScRsp._repeated_subMissionStatusList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600545C RID: 21596 RVA: 0x000E442C File Offset: 0x000E262C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.finishedMainMissionIdList_.CalculateSize(GetMissionStatusScRsp._repeated_finishedMainMissionIdList_codec);
			num += this.mainMissionMcvList_.CalculateSize(GetMissionStatusScRsp._repeated_mainMissionMcvList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.subMissionStatusList_.CalculateSize(GetMissionStatusScRsp._repeated_subMissionStatusList_codec);
			num += this.missionEventStatusList_.CalculateSize(GetMissionStatusScRsp._repeated_missionEventStatusList_codec);
			num += this.unfinishedMainMissionIdList_.CalculateSize(GetMissionStatusScRsp._repeated_unfinishedMainMissionIdList_codec);
			num += this.disabledMainMissionIdList_.CalculateSize(GetMissionStatusScRsp._repeated_disabledMainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600545D RID: 21597 RVA: 0x000E44DC File Offset: 0x000E26DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMissionStatusScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.finishedMainMissionIdList_.Add(other.finishedMainMissionIdList_);
			this.mainMissionMcvList_.Add(other.mainMissionMcvList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.subMissionStatusList_.Add(other.subMissionStatusList_);
			this.missionEventStatusList_.Add(other.missionEventStatusList_);
			this.unfinishedMainMissionIdList_.Add(other.unfinishedMainMissionIdList_);
			this.disabledMainMissionIdList_.Add(other.disabledMainMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600545E RID: 21598 RVA: 0x000E457E File Offset: 0x000E277E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600545F RID: 21599 RVA: 0x000E4588 File Offset: 0x000E2788
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num <= 16U)
					{
						if (num == 10U)
						{
							this.mainMissionMcvList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_mainMissionMcvList_codec);
							continue;
						}
						if (num != 16U)
						{
							goto IL_4F;
						}
					}
					else if (num != 18U)
					{
						if (num == 34U)
						{
							this.missionEventStatusList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_missionEventStatusList_codec);
							continue;
						}
						if (num != 40U)
						{
							goto IL_4F;
						}
						this.Retcode = input.ReadUInt32();
						continue;
					}
					this.finishedMainMissionIdList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_finishedMainMissionIdList_codec);
					continue;
				}
				if (num <= 58U)
				{
					if (num == 56U || num == 58U)
					{
						this.disabledMainMissionIdList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_disabledMainMissionIdList_codec);
						continue;
					}
				}
				else
				{
					if (num == 72U || num == 74U)
					{
						this.unfinishedMainMissionIdList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_unfinishedMainMissionIdList_codec);
						continue;
					}
					if (num == 90U)
					{
						this.subMissionStatusList_.AddEntriesFrom(ref input, GetMissionStatusScRsp._repeated_subMissionStatusList_codec);
						continue;
					}
				}
				IL_4F:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040020F6 RID: 8438
		private static readonly MessageParser<GetMissionStatusScRsp> _parser = new MessageParser<GetMissionStatusScRsp>(() => new GetMissionStatusScRsp());

		// Token: 0x040020F7 RID: 8439
		private UnknownFieldSet _unknownFields;

		// Token: 0x040020F8 RID: 8440
		public const int FinishedMainMissionIdListFieldNumber = 2;

		// Token: 0x040020F9 RID: 8441
		private static readonly FieldCodec<uint> _repeated_finishedMainMissionIdList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x040020FA RID: 8442
		private readonly RepeatedField<uint> finishedMainMissionIdList_ = new RepeatedField<uint>();

		// Token: 0x040020FB RID: 8443
		public const int MainMissionMcvListFieldNumber = 1;

		// Token: 0x040020FC RID: 8444
		private static readonly FieldCodec<MainMissionCustomValue> _repeated_mainMissionMcvList_codec = FieldCodec.ForMessage<MainMissionCustomValue>(10U, MainMissionCustomValue.Parser);

		// Token: 0x040020FD RID: 8445
		private readonly RepeatedField<MainMissionCustomValue> mainMissionMcvList_ = new RepeatedField<MainMissionCustomValue>();

		// Token: 0x040020FE RID: 8446
		public const int RetcodeFieldNumber = 5;

		// Token: 0x040020FF RID: 8447
		private uint retcode_;

		// Token: 0x04002100 RID: 8448
		public const int SubMissionStatusListFieldNumber = 11;

		// Token: 0x04002101 RID: 8449
		private static readonly FieldCodec<Mission> _repeated_subMissionStatusList_codec = FieldCodec.ForMessage<Mission>(90U, Mission.Parser);

		// Token: 0x04002102 RID: 8450
		private readonly RepeatedField<Mission> subMissionStatusList_ = new RepeatedField<Mission>();

		// Token: 0x04002103 RID: 8451
		public const int MissionEventStatusListFieldNumber = 4;

		// Token: 0x04002104 RID: 8452
		private static readonly FieldCodec<Mission> _repeated_missionEventStatusList_codec = FieldCodec.ForMessage<Mission>(34U, Mission.Parser);

		// Token: 0x04002105 RID: 8453
		private readonly RepeatedField<Mission> missionEventStatusList_ = new RepeatedField<Mission>();

		// Token: 0x04002106 RID: 8454
		public const int UnfinishedMainMissionIdListFieldNumber = 9;

		// Token: 0x04002107 RID: 8455
		private static readonly FieldCodec<uint> _repeated_unfinishedMainMissionIdList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04002108 RID: 8456
		private readonly RepeatedField<uint> unfinishedMainMissionIdList_ = new RepeatedField<uint>();

		// Token: 0x04002109 RID: 8457
		public const int DisabledMainMissionIdListFieldNumber = 7;

		// Token: 0x0400210A RID: 8458
		private static readonly FieldCodec<uint> _repeated_disabledMainMissionIdList_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x0400210B RID: 8459
		private readonly RepeatedField<uint> disabledMainMissionIdList_ = new RepeatedField<uint>();
	}
}
